package router

import (
	"tem/controller"
)

func InitUserRouter() {
	r := R.Group("/user")
	//r.Use(utils.GetRouterMiddlewares)
	{
		r.POST("/register", controller.UserController{}.Register)
		r.POST("/login", controller.UserController{}.Login)
		r.POST("/update", controller.UserController{}.Update)
	}
}
